/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.test.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.test.entity.HqhscProduct;
import com.kaaction.modules.test.dao.HqhscProductDao;

/**
 * 虎丘婚纱城运营商品Service
 * @author ZengBiao
 * @version 2017-06-20
 */
@Service
@Transactional(readOnly = true)
public class HqhscProductService extends CrudService<HqhscProductDao, HqhscProduct> {

	public HqhscProduct get(String id) {
		return super.get(id);
	}
	
	public List<HqhscProduct> findList(HqhscProduct hqhscProduct) {
		return super.findList(hqhscProduct);
	}
	
	public Page<HqhscProduct> findPage(Page<HqhscProduct> page, HqhscProduct hqhscProduct) {
		return super.findPage(page, hqhscProduct);
	}
	
	@Transactional(readOnly = false)
	public void save(HqhscProduct hqhscProduct) {
		super.save(hqhscProduct);
	}
	
	@Transactional(readOnly = false)
	public void delete(HqhscProduct hqhscProduct) {
		super.delete(hqhscProduct);
	}

	public List<HqhscProduct> findListByArea(HqhscProduct hqhscProduct) {
		return super.dao.findListByArea(hqhscProduct);
	}
	
}